<%@ page language="java" contentType="application/xhtml+xml; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="u" tagdir="/WEB-INF/tags" %>
<u:html-top title="Extraction : ${extraction.label}"/>





<div class="showEntity">

<dl>

<dt>Individual</dt>
<dd><u:individual-href individual="${extraction.individual}"/></dd>

<dt>Symbol</dt>
<dd>${extraction.symbol}</dd>

<dt>Created By</dt>
<dd><u:user-href user="${extraction.createdBy}"/></dd>

<dt>Creation</dt>
<dd><c:out value="${extraction.creation}" escapeXml="true"/></dd>

</dl>

</div>

<h2>Tubes</h2>
<u:tube-list tubes="${extraction.tubes}"/>


<h2>Aliquots</h2>
<c:if test="${userHasWritePrivileges }">
<div>
<c:url value="/db/aliquot/create" var="url">
	<c:param name="extraction_id" value="${extraction.id}"/>
</c:url>
<a href="<c:out value="${url}" escapeXml="true"/>">Create a new Aliquot</a>
</div>
</c:if>
<u:aliquot-list aliquots="${extraction.aliquots}"/>


<u:html-bottom/>